package com.ruoyi.modules.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 企业信息对象 t_company
 * 
 * @author ssh
 * @date 2024-12-15
 */
public class Company extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** 企业id */
    @Excel(name = "企业id")
    private String oldTeamId;

    /** 关联账号userId */
    @Excel(name = "关联账号userId")
    private String userId;

    /** 企业名称-必填 */
    @Excel(name = "企业名称-必填")
    private String name;

    /** 企业简称-必填 */
    @Excel(name = "企业简称-必填")
    private String shortName;

    /** 企业类型（选择）-必填 */
    @Excel(name = "企业类型", readConverterExp = "选=择")
    private String enterpriseType;

    /** 省编号 */
    @Excel(name = "省编号")
    private String provinceCode;

    /** 省名字 */
    @Excel(name = "省名字")
    private String provinceName;

    /** 市编号 */
    @Excel(name = "市编号")
    private String cityCode;

    /** 市 */
    @Excel(name = "市")
    private String cityName;

    /** 区县编号 */
    @Excel(name = "区县编号")
    private String areaCode;

    /** 区/县 */
    @Excel(name = "区/县")
    private String areaName;

    /** 乡镇名称 */
    @Excel(name = "乡镇名称")
    private String townName;

    /** 乡镇编码 */
    @Excel(name = "乡镇编码")
    private String townCode;

    /** 企业编号-必填 */
    @Excel(name = "企业编号-必填")
    private String enterpriseNumber;

    /** 企业法人-必填 */
    @Excel(name = "企业法人-必填")
    private String legalPerson;

    /** 有效期至 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "有效期至", width = 30, dateFormat = "yyyy-MM-dd")
    private Date validUntil;

    /** 社会信用代码 */
    @Excel(name = "社会信用代码")
    private String socialCreditCode;

    /** 法人身份证-附件 */
    @Excel(name = "法人身份证-附件")
    private String legalPersonIdAttachment;

    /** 资质证明-附件 */
    @Excel(name = "资质证明-附件")
    private String qualificationCertificateAttachment;

    /** 营业执照-附件 */
    @Excel(name = "营业执照-附件")
    private String businessLicenseAttachment;

    /** 其他-附件 */
    @Excel(name = "其他-附件")
    private String otherAttachment;

    /** 扩展位 */
    @Excel(name = "扩展位")
    private String exts;

    /** 企业地址 */
    @Excel(name = "企业地址")
    private String address;

    /** 负责人 */
    @Excel(name = "负责人")
    private String pic;

    /** 负责人电话 */
    @Excel(name = "负责人电话")
    private String picContact;

    /** 备注 */
    @Excel(name = "备注")
    private String content;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setOldTeamId(String oldTeamId) 
    {
        this.oldTeamId = oldTeamId;
    }

    public String getOldTeamId() 
    {
        return oldTeamId;
    }
    public void setUserId(String userId) 
    {
        this.userId = userId;
    }

    public String getUserId() 
    {
        return userId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setShortName(String shortName) 
    {
        this.shortName = shortName;
    }

    public String getShortName() 
    {
        return shortName;
    }
    public void setEnterpriseType(String enterpriseType) 
    {
        this.enterpriseType = enterpriseType;
    }

    public String getEnterpriseType() 
    {
        return enterpriseType;
    }
    public void setProvinceCode(String provinceCode) 
    {
        this.provinceCode = provinceCode;
    }

    public String getProvinceCode() 
    {
        return provinceCode;
    }
    public void setProvinceName(String provinceName) 
    {
        this.provinceName = provinceName;
    }

    public String getProvinceName() 
    {
        return provinceName;
    }
    public void setCityCode(String cityCode) 
    {
        this.cityCode = cityCode;
    }

    public String getCityCode() 
    {
        return cityCode;
    }
    public void setCityName(String cityName) 
    {
        this.cityName = cityName;
    }

    public String getCityName() 
    {
        return cityName;
    }
    public void setAreaCode(String areaCode) 
    {
        this.areaCode = areaCode;
    }

    public String getAreaCode() 
    {
        return areaCode;
    }
    public void setAreaName(String areaName) 
    {
        this.areaName = areaName;
    }

    public String getAreaName() 
    {
        return areaName;
    }
    public void setTownName(String townName) 
    {
        this.townName = townName;
    }

    public String getTownName() 
    {
        return townName;
    }
    public void setTownCode(String townCode) 
    {
        this.townCode = townCode;
    }

    public String getTownCode() 
    {
        return townCode;
    }
    public void setEnterpriseNumber(String enterpriseNumber) 
    {
        this.enterpriseNumber = enterpriseNumber;
    }

    public String getEnterpriseNumber() 
    {
        return enterpriseNumber;
    }
    public void setLegalPerson(String legalPerson) 
    {
        this.legalPerson = legalPerson;
    }

    public String getLegalPerson() 
    {
        return legalPerson;
    }
    public void setValidUntil(Date validUntil) 
    {
        this.validUntil = validUntil;
    }

    public Date getValidUntil() 
    {
        return validUntil;
    }
    public void setSocialCreditCode(String socialCreditCode) 
    {
        this.socialCreditCode = socialCreditCode;
    }

    public String getSocialCreditCode() 
    {
        return socialCreditCode;
    }
    public void setLegalPersonIdAttachment(String legalPersonIdAttachment) 
    {
        this.legalPersonIdAttachment = legalPersonIdAttachment;
    }

    public String getLegalPersonIdAttachment() 
    {
        return legalPersonIdAttachment;
    }
    public void setQualificationCertificateAttachment(String qualificationCertificateAttachment) 
    {
        this.qualificationCertificateAttachment = qualificationCertificateAttachment;
    }

    public String getQualificationCertificateAttachment() 
    {
        return qualificationCertificateAttachment;
    }
    public void setBusinessLicenseAttachment(String businessLicenseAttachment) 
    {
        this.businessLicenseAttachment = businessLicenseAttachment;
    }

    public String getBusinessLicenseAttachment() 
    {
        return businessLicenseAttachment;
    }
    public void setOtherAttachment(String otherAttachment) 
    {
        this.otherAttachment = otherAttachment;
    }

    public String getOtherAttachment() 
    {
        return otherAttachment;
    }
    public void setExts(String exts) 
    {
        this.exts = exts;
    }

    public String getExts() 
    {
        return exts;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setPic(String pic) 
    {
        this.pic = pic;
    }

    public String getPic() 
    {
        return pic;
    }
    public void setPicContact(String picContact) 
    {
        this.picContact = picContact;
    }

    public String getPicContact() 
    {
        return picContact;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("oldTeamId", getOldTeamId())
            .append("userId", getUserId())
            .append("name", getName())
            .append("shortName", getShortName())
            .append("enterpriseType", getEnterpriseType())
            .append("provinceCode", getProvinceCode())
            .append("provinceName", getProvinceName())
            .append("cityCode", getCityCode())
            .append("cityName", getCityName())
            .append("areaCode", getAreaCode())
            .append("areaName", getAreaName())
            .append("townName", getTownName())
            .append("townCode", getTownCode())
            .append("enterpriseNumber", getEnterpriseNumber())
            .append("legalPerson", getLegalPerson())
            .append("validUntil", getValidUntil())
            .append("socialCreditCode", getSocialCreditCode())
            .append("legalPersonIdAttachment", getLegalPersonIdAttachment())
            .append("qualificationCertificateAttachment", getQualificationCertificateAttachment())
            .append("businessLicenseAttachment", getBusinessLicenseAttachment())
            .append("otherAttachment", getOtherAttachment())
            .append("exts", getExts())
            .append("address", getAddress())
            .append("pic", getPic())
            .append("picContact", getPicContact())
            .append("content", getContent())
            .toString();
    }
}
